package com.xms.schema.core;

import com.xms.schema.entity.*;

import java.util.List;

/**
 * <p>
 * 字段相关联信息对象
 * </p>
 *
 * @author migo
 * @since 2021/9/2
 */
public class AttributeDescriptor {
    public Attribute attribute;
    public List<StringMap> stringmaps;
    public OptionSet optionset;
    public List<OptionSetDetail> optionsetdetails;
    public RelationShip relationship;

    public AttributeDescriptor(Attribute attr) {
        attribute = attr;
    }
    public AttributeDescriptor(Attribute attr, List<StringMap> map) {
        attribute = attr;
        stringmaps = map;
    }
    public AttributeDescriptor(Attribute attr, OptionSet op, List<OptionSetDetail> opd) {
        attribute = attr;
        optionset = op;
        optionsetdetails = opd;
    }
}
